package com.fanghuaiming.ml.pay.dao.mapper;

import com.fanghuaiming.ml.pay.dao.model.MlPayAccount;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/****
 * @description: 支付账户
 * @version:1.0.0
 * @author fanghuaiming
 * @data Created in 2020/12/4 上午10:50
 *
 */
@Repository
public interface MlPayAccountMapper {

    /**
     * @Description: 查询支付账户信息
     *
     * @param:
     * @return:
     * @auther: fanghuaiming
     * @date: 2020/12/4 上午11:18
     * @version:1.0.0
     */
    MlPayAccount selectByUserId(@Param("accountId") Long accountId);

    /**
     * @Description: 更新支付账户
     *
     * @param:
     * @return:
     * @auther: fanghuaiming
     * @date: 2020/12/4 上午11:20
     * @version:1.0.0
     */
    void updateByUserId(MlPayAccount mlPayAccount);
}
